package HomeWork2;

public class Person {
    public void usb(Play play){
        play.play();
    }
    public void usb(Takephoto takephoto){
        takephoto.takephoto();
    }
    public void usb(Daliup daliup){
        daliup.daliup();
    }
    public void usb(Mobile mobile){
        mobile.daliup();
        mobile.play();
        mobile.takephoto();

    }

}
